package com.example.forum.model;

import java.util.Date;

public class ArticleHot {

    Long id;
    Integer likeCount;

    Integer visitCount;

    Integer replyCount;

    String title;


    Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(int visitCount) {
        this.visitCount = visitCount;
    }

    public int getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(int replyCount) {
        this.replyCount = replyCount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


//    public Date getCreateTime() {
//        return createTime;
//    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ArticleHot{" +
                "id=" + id +
                ", likeCount=" + likeCount +
                ", visitCount=" + visitCount +
                ", replyCount=" + replyCount +
                ", title='" + title + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
